package com.heatup.apt.model.user;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 用户服务关系表
 *
 */
@TableName("user_product_service")
public class UserProductService implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**  */
	@TableField(value = "user_id")
	private Integer userId;

	/**  */
	@TableField(value = "product_service_type")
	private String productServiceType;
	
	/**  */
	@TableField(value = "begin_date")
	private Date beginDate;
	
	/**  */
	@TableField(value = "end_date")
	private Date endDate;
	
	/**  */
	private Integer isvalid;

	/**  */
	@TableField(value = "updated_time")
	private Date updatedTime;
	
	/**  */
	@TableField(value = "updated_by")
	private Integer updatedBy;

	/**  */
	@TableField(value = "created_time")
	private Date createdTime;
	
	/**  */
	@TableField(value = "created_by")
	private Integer createdBy;
	
	/** 用户的 openid */
	@TableField(exist = false)
	private String openId;
	


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getProductServiceType() {
		return this.productServiceType;
	}

	public void setProductServiceType(String productServiceType) {
		this.productServiceType = productServiceType;
	}

	public int getIsvalid() {
		return this.isvalid;
	}

	public void setIsvaild(int isvalid) {
		this.isvalid = isvalid;
	}

	public Date getUpdatedTime() {
		return this.updatedTime;
	}

	public void setUpdatedTime(Date updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Date getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(Integer updatedBy) {
		this.updatedBy = updatedBy;

	}

	public Integer getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}
	
	
	
}
